package com.sky.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.Page;
import com.sky.dto.*;
import com.sky.entity.Dish;
import com.sky.entity.Employee;
import com.sky.result.PageResult;

import java.util.List;

public interface DishService extends IService<Dish> {


    void savaWithFlavor(DishDTO dishDTO);

    /**
     * 分页查询，利用MP
     * @param dishPageQueryDTO
     * @return
     */
    PageResult pageQuery(DishPageQueryDTO dishPageQueryDTO);


    /**
     * 删除逻辑
     * @param ids
     */
    void deleteBatch(List<Long> ids);
}
